﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.BLL;
using Shopping.Common;
using Shopping.Model;

public partial class Goods_SCategoryNav : System.Web.UI.UserControl
{
    protected Categories SCategoryInfo;
    protected List<Categories> TCategorys;

    protected URLManage bllUrl = new URLManage();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {

        }
    }

    public void BindData(int sCategoryID)
    {
        CategoriesManage bllCategory = new CategoriesManage();
        SCategoryInfo = bllCategory.GetCategoryInfo(sCategoryID);
        TCategorys = bllCategory.QueryChirldCategory(sCategoryID,true);
    }



}